package cn.edu.scau.cmi.liangzaoqing.domain;

import java.util.ArrayList;
import java.util.List;

public class MiddleNode {
	
	String name = null;
	
	List<LeafNode> leafItems = new ArrayList<>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<LeafNode> getLeafItems() {
		return leafItems;
	}

	public void setLeafItems(List<LeafNode> leafItems) {
		this.leafItems = leafItems;
	}

	@Override
	public String toString() {
		return "MiddleNode [name=" + name + ", leafItems=" + leafItems + "]";
	}
	
}
